package com.payment.common;

import org.generator.framework.core.Start;
import org.generator.framework.core.builder.pojo.DataSourceConfig;

public class MyGenerator {
	public static void main(String[] args) throws Exception {
		// 得到数据源
		DataSourceConfig cfg = new DataSourceConfig("com.mysql.jdbc.Driver",
				"jdbc:mysql://119.23.212.244:63306/payment", "root", "UMpass2018_*",
				DataSourceConfig.MYSQL);
		// 实例化				
		Start start = new Start("com.payment","com.payment.merchant.domain","com.payment.merchant.service","", "com.payment.merchant.repository", "",
				"","com/payment/common/template/", cfg,"tbl_user_merchant_secret","E:\\develop\\eclipse-workspace\\payment-master\\payment-service","XINJF");
		// 开始生成
		
		start.pay(true,false,false,false,true,false,true);
	}
}
